package org.bigk.invoices.services;

import org.bigk.invoices.exceptions.ServiceException;
import org.bigk.invoices.model.User;

public interface LoginService {

	public abstract User processLogin(String login, String password)
			throws ServiceException;

	public static final int LOGOUT_OK = 0;
	public static final int LOGOUT_ERR = -1;

	public abstract int processLogout() throws ServiceException;

}
